package edu.nf.project.entitys.dto.storeOperation;

import com.fasterxml.jackson.annotation.JsonFormat;
import edu.nf.project.entitys.entity.storeOperation.convention.operate.RefundImage;
import edu.nf.project.entitys.entity.storeOperation.convention.operate.RefundRequest;
import edu.nf.project.entitys.enums.storeOperation.RequestStatusEnum;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

/**
 * @author CSY
 * @date 2025 - 06 - 20
 * 退款+退款图片
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class RefundDTO {
    /**
     * 申请编号
     */
    private Integer rrId;
    /**
     * 订单编号
     */
    private Integer orderId;
    /**
     * 申请原因
     */
    private String reason;
    /**
     * 申请描述
     */
    private String refundDesc;
    /**
     * 申请时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date requestTime;
    /**
     * 申请退款金额
     */
    private BigDecimal requestAmount;
    /**
     * 实际退款金额
     */
    private BigDecimal actualAmount;
    /**
     * 申请状态
     */
    private Integer requestStatus;
    /**
     * 拒绝原因
     */
    private String refuseReason;
    /**
     * 操作（拒绝/同意）时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date operateTime;

    /**
     * 账户编号
     */
    private Integer uId;
    /**
     * 图片路径
     */
    private List<String> imagePath;

    /**
     * 支付方式(0 微信  1 会员卡)
     */
    private Integer payWay;
    /**
     * 联系方式
     */
    private String phone;
    /**
     * 顾客姓名
     */
    private String customerFullName;
}
